


set(cur_path ${CMAKE_CURRENT_BINARY_DIR})
set(src_path ${CMAKE_CURRENT_LIST_DIR})
set(proto_path ${CMAKE_SOURCE_DIR}/src/protos)
set(compile_output_path ${CMAKE_SOURCE_DIR}/build/src)



file(GLOB SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cc)
add_executable(behavior_analytics_server ${SRC_FILES})
target_include_directories(behavior_analytics_server PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${compile_output_path})

target_link_libraries(behavior_analytics_server PUBLIC 
    brpc_etcd # etcd brpc
    # leveldb -lodb -lodb-mysql # odb
    # redis
    -lhiredis
    -lredis++
     # es
    # -ljsoncpp
)